require File.expand_path(File.dirname(__FILE__) + "/../config/environment")

class BatchCleanupAppliedAccounts < BatchBase
  def self.execute options
    AppliedAccount.delete_all(["created_at <= '#{Time.now.yesterday.to_s(:db)}'"]) 
  end
end

BatchCleanupAppliedAccounts.execution
